﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Extensil.Common;

namespace MyTestCategoryPlugin
{
    [Extensil.Common.CategoryAttribute("Test Category Plugin 1")]
    public partial class TestCategoryPlugin :BaseCategory
    {
        DateTime _startTime;
        public TestCategoryPlugin()
        {
            InitializeComponent();
            _startTime = DateTime.Now;
        }
        public override BaseHelp Help
        {
            get
            {
                return new MyTestCategoryPluginHelp();
            }
        }
        public override BaseSetting Setting
        {
            get
            {
                return new MyTestCategoryPluginSetting();
            }
        }

        private void timer1_Tick(object sender, EventArgs e)
        {
            label1.Text = (DateTime.Now - _startTime).TotalSeconds.ToString();
        }
    }
}
